package com.wuyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yz
 * @since 2022-09-30
 */
@TableName("td_host")
public class TdHost implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 房东id
     */
    @TableId(value = "host_Id", type = IdType.AUTO)
    private Long hostId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 房东手机号
     */
    private String hostPhone;

    /**
     * 是否认证(0未认证 1认证)
     */
    private Integer isAuthentication;

    /**
     * 详情
     */
    private String detail;

    /**
     * 备用字段2
     */
    private String spare1;

    /**
     * 备用字段2
     */
    private String spare2;

    public Long getHostId() {
        return hostId;
    }

    public void setHostId(Long hostId) {
        this.hostId = hostId;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getHostPhone() {
        return hostPhone;
    }

    public void setHostPhone(String hostPhone) {
        this.hostPhone = hostPhone;
    }
    public Integer getIsAuthentication() {
        return isAuthentication;
    }

    public void setIsAuthentication(Integer isAuthentication) {
        this.isAuthentication = isAuthentication;
    }
    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }
    public String getSpare1() {
        return spare1;
    }

    public void setSpare1(String spare1) {
        this.spare1 = spare1;
    }
    public String getSpare2() {
        return spare2;
    }

    public void setSpare2(String spare2) {
        this.spare2 = spare2;
    }

    @Override
    public String toString() {
        return "TdHost{" +
            "hostId=" + hostId +
            ", userId=" + userId +
            ", name=" + name +
            ", hostPhone=" + hostPhone +
            ", isAuthentication=" + isAuthentication +
            ", detail=" + detail +
            ", spare1=" + spare1 +
            ", spare2=" + spare2 +
        "}";
    }
}
